/*
 * @(#)AtcDAO.java $version 2012-8-10
 * 
 * Copyright 2012 NADOSTAR Gruop. All rights Reserved.
 * NADOSTAR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nadostar.iims.monitoring.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.nadostar.extensions.util.DataMap;
import com.nadostar.iims.model.MonitoringParamModel;

/**
 * The Class AtcDAO.
 * 
 * @author Lixing
 *
 */
public interface AtcDAO {
	/**
	 * 게시물 리스트 가져오기.
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	List<DataMap> selectMonitoringList(MonitoringParamModel model, int offset, int count) throws DataAccessException;
	/**
	 * 게시물 리스트 총 갯수 가져오기.
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	int selectMonitoringListCount(MonitoringParamModel model) throws DataAccessException;
	/**
	 * 처리상태 업데이트
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	int updateTrtrStat() throws DataAccessException;
	/**
	 * 삭제된 글 리스트 가져오기.
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	List<DataMap> selectDeletedMonitoringList(MonitoringParamModel model, int offset, int count) throws DataAccessException;
	/**
	 * 삭제된 글 리스트 총 갯수 가져오기.
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	int selectDeletedMonitoringListCount(MonitoringParamModel model) throws DataAccessException;
	/**
	 * 모니터링 통계
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	List<DataMap> selectMonitoringStatistics(MonitoringParamModel model) throws DataAccessException;
}
